<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			<div>
				插值方式：{{message}}<br />
			</div>
			<div v-text="message"></div>
			<div v-text="code"></div>
			<div v-html="code"></div>
		</div>
		
		<script>			
			var app = Vue.createApp({
				data(){
					return {
						message: "Hello World!",
						code: "<a href='https://www.baidu.com'>百度</a>"
						}
				}
			}).mount("#app")
		</script>
	</body>
</html>
